/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hu.tothgya.timetable;

import java.util.Calendar;
import java.util.List;

/**
 * Represents a concrete journey.
 * @author tothgya
 */
public abstract class Journey {
    /**
     * The journey begins at this time
     */
    public Calendar leave;
    /**
     * The journey ends at this time
     */
    public Calendar arrive;

    /**
     * The journey starts at this location.
     */
    public String start;
    /**
     * The journey ends at this location.
     */
    public String destination;

    /**
     * The connection have to be used for this journey.
     */
    public List<Connection> connections;
}
